<script setup lang="ts">
import { onHide, onLaunch, onShow } from "@dcloudio/uni-app";
import useAppInitSetting from "@/composables/useAppInitSetting";

useAppInitSetting();

onLaunch(() => {
  console.log("App Launch", uni.getAccountInfoSync());
});
onShow(() => {
  console.log("App Show");
});
onHide(() => {
  console.log("App Hide");
});
</script>

<style>
/* 每个页面公共css */

/* #ifndef APP-NVUE */
page {
  background-image: radial-gradient(circle at 35% 5%, rgba(19, 115, 255, .2), #F6F8FA 25%);
  background-repeat: no-repeat;
  
  @apply min-h-full bg-#F6F8FA dark:bg-dark-800 font-sans;
}

.btn-reset {
  background-color: transparent;
  border: none;
  padding: 0;
  margin: 0;
  text-align: left;
  box-sizing: content-box;
}
.btn-reset:after {
  display: none;
}

.page-popup {
  background-image: linear-gradient(to bottom, rgba(255, 255, 0, 0) 30%, rgba(255, 255, 255, 1) 50%),url(https://static.minglvtang.com/images/bg_confirm.png);
  background-position: top, top;
  background-repeat: no-repeat, no-repeat;
  background-size: auto,100% auto;
  overflow: hidden;
  padding-top: 56px;
}

/* 针对基于 WebKit 的浏览器（包括安卓和苹果的移动设备）*/
.scrollbar-hide::-webkit-scrollbar {
  display: none;
}
/* #endif */
</style>
